package com.swl.service;

import com.swl.pojo.Topic;

import java.util.List;

public interface TopicService {
    Integer insertTopic(Topic topic);

    List<Topic> selectAllTopic();

    Topic selectTopicByTid(int tid);

    List<Topic>selectTopicBySchoolIdAndCourseId(int schoolId,int courseId);
    List<Topic>selectTopicBySchoolIdAndCourseIdAndDiff(int schoolId,int courseId,String diff);
}
